package com.strange.mdl.module.mdl.controller.admin.debatehallcomment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 辨经殿话题评论新增/修改 Request VO")
@Data
public class DebatehallCommentSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "5925")
    private Long id;

    @Schema(description = "关联的辩论ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30287")
    @NotNull(message = "关联的辩论ID不能为空")
    private Long debateId;

    @Schema(description = "评论用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29872")
    @NotNull(message = "评论用户ID不能为空")
    private Long userId;

    @Schema(description = "父级评论ID（为空表示是一级评论）", example = "14577")
    private Long pid;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "评论内容不能为空")
    private String content;

}